<?
	foreach(array_keys($_COOKIE) as $c)
		setcookie($c,'',time()-3600,'/');
	session_start();
	session_unset();
	session_destroy();
	echo '{r:"ok"}';
?>